package com.bluegalaxy.nhb.snservice.service.ck.impl;

import com.bluegalaxy.nhb.snservice.dao.OverviewMapper;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.HeatVO;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.OverviewItemReq;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.OverviewReq;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.OvervivwVO;
import com.bluegalaxy.nhb.snservice.service.ck.OverviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("OverviewService")
public class OverviewServiceImpl implements OverviewService {
    @Autowired
    private OverviewMapper overviewMapper;

    @Override
    public List<OvervivwVO> overvivwVOList(OverviewReq overviewReq) {
        return overviewMapper.overvivwVOList(overviewReq);
    }

    @Override
    public String overvivwVOListCount(OverviewReq overviewReq) {
        return overviewMapper.overvivwVOListCount(overviewReq);
    }

    @Override
    public List<HeatVO> heatList(OverviewReq overviewReq) {
        return overviewMapper.heatList(overviewReq);
    }

    @Override
    public List<OvervivwVO> selectEventList(OverviewReq overviewReq,List<OverviewItemReq> itemList) {
        return overviewMapper.selectEventList(overviewReq,itemList);
    }
}
